<template>
	<view class="index-box">
		<home-page ref="modulePageRef"></home-page>
		<sww-login></sww-login>
		<sww-sidebar :scroll-top="scrollTop" :contact="vuex_config.has_contact"></sww-sidebar>
	</view>
</template>
<script>
import { sideBarMixin } from '@/components/sww-sidebar';
import homePage from '@/pagecomponents/homePage/homePage';
import {tabPage} from '@/mixins/tabPage.js'
export default {
	mixins: [tabPage,sideBarMixin],
	data() {
		return {
			tabIndex: 0,
			scrollTop: 0,
		};
	},
	
	async onLoad(option) {
	    // 等待登录成功 https://blog.csdn.net/yfx000/article/details/108186719
	},
	components:{homePage},
};
</script>
